home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-06-17 | 1.4 KB | 55 lines |
- #
- # Makes the hershey library.
- # Makes the binary Hershey font files for an SGI
- #
- FONTLIB = /usr/local/lib/hershey
- CFLAGS = -O -float -DFONTLIB=\"$(FONTLIB)\" -DSGI
-
- OURLIBS = libhershey.a
- LIBS = -lgl_s
- RANLIB = echo
-
- .IGNORE:
-
- HDR = h2v.h
-
- all: libhershey.a h2v hdisp fdisp fonts
-
- libhershey.a: htext.o check.o halloc.o fhtext.o
- ar rcv libhershey.a htext.o check.o halloc.o fhtext.o
- $(RANLIB) libhershey.a
-
-
- h2v: h2v.o getchar.o
- cc -o $@ $@.o getchar.o -lm
-
- hdisp: hdisp.o getchar.o libhershey.a
- cc -o $@ $@.o getchar.o $(OURLIBS) $(LIBS) -lm
-
- fdisp: fdisp.o libhershey.a
- cc -o $@ $@.o $(OURLIBS) $(LIBS) -lm
-
- fonts: h2v
- h2v ../data/hersh.oc
- h2v ../data/hersh.or ../fonts/japan.hmp japanese
- mv astrology cursive cyrillic futura.l futura.m gothic.eng \
- gothic.ger gothic.ita greek japanese markers math.low \
- math.upp meteorology music script symbolic times.g \
- times.i times.ib times.r times.rb $(FONTLIB)
- touch fonts
-
- h2v: h2v.h
-
- clean:
- rm -f astrology cursive cyrillic futura.l futura.m gothic.eng \
- gothic.ger gothic.ita greek japanese markers math.low \
- math.upp meteorology music script symbolic times.g \
- times.i times.ib times.r times.rb *.o core fonts libhershey.a
-
- clobber:
- rm -f astrology cursive cyrillic futura.l futura.m gothic.eng \
- gothic.ger gothic.ita greek japanese markers math.low \
- math.upp meteorology music script symbolic times.g \
- times.i times.ib times.r times.rb *.o core h2v hdisp fdisp fonts \
- libhershey.a
-